package com.vichat.user.entity;


import javax.persistence.*;

/***************
 *author: autogen
 *version: 2018-12-12 10:04:30.611
 */
@Entity
@Table(name = "sys_static_data",catalog = "userdb")
public class SysStaticData implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	


    public static final String TABLE = "sys_static_data";

    /**CODE编号 */
	public static final String ALIAS_CODE_ID = "code_id";
    /**枚举KEY */
	public static final String ALIAS_CODE_KEY = "code_key";
    /**枚举VALUE */
	public static final String ALIAS_CODE_VALUE = "code_value";
    /**枚举DESC */
	public static final String ALIAS_CODE_NAME = "code_name";
    /**排序 */
	public static final String ALIAS_SEQ_BY = "seq_by";
    /**描述 */
	public static final String ALIAS_CODE_DESC = "code_desc";
	
	

 	@Id
@   GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "code_id", unique = true, nullable = false)
    public java.lang.Long codeId;
  
 	@Column(name = "code_key")
    public java.lang.String codeKey;
  
 	@Column(name = "code_value")
    public java.lang.String codeValue;
  
 	@Column(name = "code_name")
    public java.lang.String codeName;
  
 	@Column(name = "seq_by")
    public java.lang.Long seqBy = 0l;
  
 	@Column(name = "code_desc")
    public java.lang.String codeDesc;
  





	public java.lang.Long getCodeId() {
		return this.codeId;
	}
	
	public void setCodeId(java.lang.Long value) {
		this.codeId = value;
	}

	public java.lang.String getCodeKey() {
		return this.codeKey;
	}
	
	public void setCodeKey(java.lang.String value) {
		this.codeKey = value;
	}

	public java.lang.String getCodeValue() {
		return this.codeValue;
	}
	
	public void setCodeValue(java.lang.String value) {
		this.codeValue = value;
	}

	public java.lang.String getCodeName() {
		return this.codeName;
	}
	
	public void setCodeName(java.lang.String value) {
		this.codeName = value;
	}

	public java.lang.Long getSeqBy() {
		return this.seqBy;
	}
	
	public void setSeqBy(java.lang.Long value) {
		this.seqBy = value;
	}

	public java.lang.String getCodeDesc() {
		return this.codeDesc;
	}
	
	public void setCodeDesc(java.lang.String value) {
		this.codeDesc = value;
	}


	
	public SysStaticData() {
	}
	
	public SysStaticData(boolean qryflag) {
	    if(qryflag){
	    		this.codeId = null;
				this.codeKey = null;
				this.codeValue = null;
				this.codeName = null;
				this.seqBy = null;
				this.codeDesc = null;
			    }
	}


	public SysStaticData(
	    java.lang.Long inCodeId,
	    java.lang.String inCodeKey,
	    java.lang.String inCodeValue,
	    java.lang.String inCodeName,
	    java.lang.Long inSeqBy,
		java.lang.String inCodeDesc
	 ) {
		super();
				this.codeId = inCodeId;
				this.codeKey = inCodeKey;
				this.codeValue = inCodeValue;
				this.codeName = inCodeName;
				this.seqBy = inSeqBy;
				this.codeDesc = inCodeDesc;
			}





}

